package com.order;

public class Utils {
    public static String trim(String str)
    {
        if(str==null|| str.equals("") ||str.length()==0)
            return "";
        else if(str.endsWith(","))
            return str.substring(0,str.length()-1);
        else
            return str;
    }
}
